package com.hxd.mall.utils.local

import android.content.Context
import com.hxd.threelibrary.getUmClient

/**
 * Create by yinzhengwei on 2019-09-06
 * @Function
 */
fun Context.sendPoint(point: String) {
    getUmClient().onEvent(this, point)
}

//注册/登录 进入页面触发
val tel_input_page_view = "tel_input_page_view"

//注册/登录 手机号输入框点击触发，记录点击次数
val tel_input_box_click = "tel_input_box_click"

//注册/登录 【下一步button】点击触发，记录点击次数
val tel_input_page_next_button_click = "tel_input_page_next_button_click"

//微信登录 【下一步button】点击触发，记录点击次数
val wechat_log_in__button_click = "wechat_log_in__button_click"

//输入邀请码页面 进入页面触发
val inviting_code_page_view = "inviting_code_page_view"

//输入邀请码页面 邀请码输入框 点击触发，记录点击次数
val inviting_code_input_box_click = "inviting_code_input_box_click"

//输入邀请码页面 【下一步button】 点击触发，记录点击次数
val inviting_code_page_next_button_click = "inviting_code_page_next_button_click"

//输入验证码页面 验证码输入框 点击触发，记录点击次数
val get_code_box_clivck = "get_code_box_click"

//引导微信授权页面 进入页面触发
val bounding_wechat_page_view = "bounding_wechat_page_view"

//引导微信授权页面 【跳过】button
val skip_button_click = "skip_button_click"

//引导微信授权页面 【绑定微信】button
val bounding_wechat_button_click = "bounding_wechat_button_click"


//进入首页页面触发
val home_page_view = "home_page_view"

//首页 点击触发，记录点击次数
val search_box_click = "search_box_click"

//首页 金刚区,点击触发，记录点击次数
fun icon_number_click(num: Int) = "icon_${num}_click"

//首页 楼层区,点击触发，记录点击次数
fun niche_click(num: Int) = "niche_${num}_click"

//首页 引导框,点击触发，记录点击次数
val guidance_box_click = "guidance_box_click"

//首页 商品,点击触发，记录点击次数
val commodity_click = "commodity_click"

//首页 猜你想搜弹窗,点击触发，记录点击次数
val search_pop_up_view = "search_pop_up_view"

//首页 立即搜索button 点击触发，记录点击次数
val search_pop_up_quick_search_button_click = "search_pop_up_quick_search_button_click"

//首页 取消button 点击触发，记录点击次数
val search_pop_up_cancel_button_click = "search_pop_up_cancel_button_click"

//首页 注册登录条框 注册/登录button 点击触发，记录点击次数
val home_page_log_in_button_click = "home_page_log_in_button_click"

//首页 授权button 点击触发，记录点击次数
val home_page_tb_authorization_button_click = "home_page_tb_authorization_button_click"

//商学院 记录商学院出现次数
val commercial_college_view = "commercial_college_view"

//商学院 文章更多buttton
val more_article_button_click = "more_article_button_click"

//商学院 音频更多button
val more_voice_button_click = "more_voice_button_click"

//商学院 视频更多button
val more_vedio_button_click = "more_vedio_button_click"

//商学院 商学院中文章资源位1-n
fun commercial_college_article_niche_click(num: Int) = "commercial_college_article_niche_${num}_click"

//商学院 商学院中音频资源位1-n
fun commercial_college_music_niche_click(num: Int) = "commercial_college_music_niche_${num}_click"

//商学院 商学院中视频资源位1-n
fun commercial_college_video_niche_click(num: Int) = "commercial_college_video_niche_${num}_click"

//个人中心 浏览 记录个人中心出现次数
val personal_center_view = "personal_center_view"

//个人中心 设置
val setting_button_click = "setting_button_click"

//个人中心 邀请码【复制】button
val inviting_code_copy_button = "inviting_code_copy_button"

//个人中心 常见button
val a_button_click = "q_and_a_button_click"

//个人中心 粉丝button
val fans_management_button_click = "fans_management_button_click"

//个人中心 订单button
val order_management_button_click = "order_management_button_click"

//个人中心 邀请button
val invite_friends_button_click = "invite_friends_button_click"

//搜索 进入页面触发
val search_page_view = "search_page_view"

//搜索 搜索button
val search_page_button_click = "search_page_button_click"

//搜索 进入页面触发
val search_result_page_view = "search_result_page_view"

//商详页 进入页面触发
val commodity_detail_page_view = "commodity_detail_page_view"

//商详页 【购买】按钮
val commodity_buy_button_click = "commodity_buy_button_click"

//商详页 【领券】按钮
val commidity_coupon_get_button_click = "commidity_coupon_get_button_click"

//商详页 【分享】按钮
val commodity_share_button_click = "commodity_share_button_click"

//商详页 【返现规则】按钮
val cash_back_rule = "cash_back_rule"

//邀请好友页 点击【复制】按钮
val cope_button_click = "cope_button_click"

//邀请好友页 点击【分享海报给好友】按钮
val poster_share_clicke = "poster_share_clicke"

//邀请好友页 点击【保存本地】按钮
val download_button_click = "download_button_click"

//邀请好友页 点击【微信对话】按钮
val wechat_path_button_click = "wechat_path_button_click"

//邀请好友页 点击【朋友圈】按钮
val moments_path_button_click = "moments_path_button_click"

//粉丝列表页 进入页面触发
val fans_management_page_view = "fans_management_page_view"

//订单列表页 进入页面触发
val order_management_page_view = "order_management_page_view"










